[INFO] cloning repository https://github.com/uuhan/terminate-thread
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uuhan/terminate-thread" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuuhan%2Fterminate-thread", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuuhan%2Fterminate-thread'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6aaa343d28b0b35d811829ff1a569fe7e9eff190
[INFO] fixing uuhan/terminate-thread against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuuhan%2Fterminate-thread" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/uuhan/terminate-thread
[INFO] finished tweaking git repo https://github.com/uuhan/terminate-thread
[INFO] tweaked toml for git repo https://github.com/uuhan/terminate-thread written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/uuhan/terminate-thread on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/uuhan/terminate-thread already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a
[INFO] running `Command { std: "docker" "start" "d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling libc v0.2.152
[INFO] [stderr]    Compiling proc-macro2 v1.0.76
[INFO] [stderr]    Compiling prettyplease v0.2.16
[INFO] [stderr]    Compiling rustix v0.38.30
[INFO] [stderr]    Compiling bitflags v2.4.2
[INFO] [stderr]    Compiling linux-raw-sys v0.4.13
[INFO] [stderr]    Compiling clang-sys v1.7.0
[INFO] [stderr]    Compiling regex-syntax v0.8.2
[INFO] [stderr]    Compiling memchr v2.7.1
[INFO] [stderr]    Compiling libloading v0.8.1
[INFO] [stderr]    Compiling home v0.5.9
[INFO] [stderr]    Compiling bindgen v0.69.2
[INFO] [stderr]    Compiling log v0.4.20
[INFO] [stderr]    Compiling quote v1.0.35
[INFO] [stderr]    Compiling peeking_take_while v0.1.2
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling syn v2.0.48
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling autotools v0.2.6
[INFO] [stderr]    Compiling regex-automata v0.4.3
[INFO] [stderr]    Compiling which v4.4.2
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stderr]    Compiling regex v1.10.2
[INFO] [stderr]    Compiling terminate-thread v0.3.2-alpha.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/lib.rs:111:10
[INFO] [stdout]     |
[INFO] [stdout] 111 |         *self.guard().1.lock().unwrap()
[INFO] [stdout]     |          ^^^^^^^^^^^^------------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          this temporary value will be dropped at the end of the block
[INFO] [stdout]     |          a temporary with access to the borrow is created here ...
[INFO] [stdout] 112 |     }
[INFO] [stdout]     |     - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `std::sync::MutexGuard`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let x = *self.guard().1.lock().unwrap(); x
[INFO] [stdout]     |         +++++++                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs (4 fixes)
[INFO] [stderr]        Fixed src/lib.rs (1 fix)
[INFO] [stderr]        Fixed src/ext.rs (2 fixes)
[INFO] [stderr]    Migrating examples/loop.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]    --> src/lib.rs:111:10
[INFO] [stdout]     |
[INFO] [stdout] 111 |         *self.guard().1.lock().unwrap()
[INFO] [stdout]     |          ^^^^^^^^^^^^------------------
[INFO] [stdout]     |          |
[INFO] [stdout]     |          this temporary value will be dropped at the end of the block
[INFO] [stdout]     |          a temporary with access to the borrow is created here ...
[INFO] [stdout] 112 |     }
[INFO] [stdout]     |     - ... and the borrow might be used here, when that temporary is dropped and runs the `Drop` code for type `std::sync::MutexGuard`
[INFO] [stdout]     |
[INFO] [stdout]     = note: the temporary is part of an expression at the end of a block;
[INFO] [stdout]             consider forcing this temporary to be dropped sooner, before the block's local variables are dropped
[INFO] [stdout]     = warning: this changes meaning in Rust 2024
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]     = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] help: for example, you could save the expression's value in a new local variable `x` and then make `x` be the expression at the end of the block
[INFO] [stdout]     |
[INFO] [stdout] 111 |         let x = *self.guard().1.lock().unwrap(); x
[INFO] [stdout]     |         +++++++                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 55.42s
[INFO] [stderr] crater-edition-check: terminate-thread v0.3.2-alpha.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling terminate-thread v0.3.2-alpha.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern "C" { pub fn help_debug_message (file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , message : * const :: std :: os :: raw :: c_char) ; } # ...
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:332
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ; extern "C" { # [link_name = "\u{1}_Z23termina...aw :: c_void) -> * mut terminate_thread_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:619
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { # [link_name = "\u{1}_Z26terminate_thread_terminateP18terminate_thread_s"] pub fn terminate_thread_terminate (thread : * mut terminate_thread_t) ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:781
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { # [link_name = "\u{1}_Z21terminate_thread_dropP18terminate_thread_s"] pub fn terminate_thread_drop (thread : * mut terminate_thread_t) ; }
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `terminate-thread` (lib) due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:1
[INFO] [stdout]   |
[INFO] [stdout] 3 | extern "C" { pub fn help_debug_message (file : * const :: std :: os :: raw :: c_char , line : :: std :: os :: raw :: c_int , message : * const :: std :: os :: raw :: c_char) ; } # ...
[INFO] [stdout]   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:332
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... ; extern "C" { # [link_name = "\u{1}_Z23termina...aw :: c_void) -> * mut terminate_thread_t ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^...^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:619
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { # [link_name = "\u{1}_Z26terminate_thread_terminateP18terminate_thread_s"] pub fn terminate_thread_terminate (thread : * mut terminate_thread_t) ; } ex...
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: extern blocks must be unsafe
[INFO] [stdout]  --> /opt/rustwide/target/debug/build/terminate-thread-f22bd9aba3f94564/out/bindings.rs:3:781
[INFO] [stdout]   |
[INFO] [stdout] 3 | ... } extern "C" { # [link_name = "\u{1}_Z21terminate_thread_dropP18terminate_thread_s"] pub fn terminate_thread_drop (thread : * mut terminate_thread_t) ; }
[INFO] [stdout]   |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `terminate-thread` (lib test) due to 4 previous errors
[INFO] running `Command { std: "docker" "inspect" "d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a", kill_on_drop: false }`
[INFO] [stdout] d97a9548739786a65b44cdb5a2fdca95ddc85207b34e42d62c427651d4de836a
